//封装token的相关方法

const Token = 'token_key'
//存
function setToken(token) {
  localStorage.setItem(Token, token)
}
//取
function getToken() {
  return localStorage.getItem(Token)
}
//删
function removeToken() {
  localStorage.removeItem(Token)
}

export {
  setToken,
  getToken,
  removeToken
}